update: enabled changing locations for system profiles
This commit is contained in:
parent
de61ed63f3
commit
8992447a37
1 changed files with 0 additions and 6 deletions
|
|
@ -5448,7 +5448,6 @@ class EditorPage(Page):
|
||||||
prev_button.setIcon(QIcon(outline_pix))
|
prev_button.setIcon(QIcon(outline_pix))
|
||||||
prev_button.setIconSize(prev_button.size())
|
prev_button.setIconSize(prev_button.size())
|
||||||
|
|
||||||
# Apply green styling for location and browser buttons to indicate sync requirement
|
|
||||||
if (key == 'location' or key == 'browser') and not self.connection_manager.is_synced():
|
if (key == 'location' or key == 'browser') and not self.connection_manager.is_synced():
|
||||||
prev_button.setStyleSheet("""
|
prev_button.setStyleSheet("""
|
||||||
QPushButton {
|
QPushButton {
|
||||||
|
|
@ -5495,7 +5494,6 @@ class EditorPage(Page):
|
||||||
next_button.setIcon(QIcon(outline_pix_r))
|
next_button.setIcon(QIcon(outline_pix_r))
|
||||||
next_button.setIconSize(next_button.size())
|
next_button.setIconSize(next_button.size())
|
||||||
|
|
||||||
# Apply green styling for location and browser buttons to indicate sync requirement
|
|
||||||
if (key == 'location' or key == 'browser') and not self.connection_manager.is_synced():
|
if (key == 'location' or key == 'browser') and not self.connection_manager.is_synced():
|
||||||
next_button.setStyleSheet("""
|
next_button.setStyleSheet("""
|
||||||
QPushButton {
|
QPushButton {
|
||||||
|
|
@ -5518,10 +5516,6 @@ class EditorPage(Page):
|
||||||
prev_button.setDisabled(True)
|
prev_button.setDisabled(True)
|
||||||
next_button.setDisabled(True)
|
next_button.setDisabled(True)
|
||||||
|
|
||||||
if connection == 'system-wide' and key == 'location':
|
|
||||||
prev_button.setDisabled(True)
|
|
||||||
next_button.setDisabled(True)
|
|
||||||
|
|
||||||
if connection == 'system-wide' and (key == 'browser' or key == 'dimentions'):
|
if connection == 'system-wide' and (key == 'browser' or key == 'dimentions'):
|
||||||
prev_button.setVisible(False)
|
prev_button.setVisible(False)
|
||||||
next_button.setVisible(False)
|
next_button.setVisible(False)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue