Skip to content

Commit 1baa173

Browse files
author
Vitor Villar
committed
Fixing switch key bug
1 parent 661fdb2 commit 1baa173

4 files changed

Lines changed: 43 additions & 28 deletions

File tree

.idea/workspace.xml

Lines changed: 38 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/sshclient.db

0 Bytes
Binary file not shown.

events/connection_window_events.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ def load_connection(self):
129129
if self.connection.key_path != 'None': # On SQLITE is saved as str 'None'
130130
file_chooser.set_filename(self.connection.key_path)
131131

132+
# Check if use key is checked, and call the function to switch the fields
133+
if self.connection.use_key:
134+
self.on_switch_use_key_activate(switch_key, self.connection.use_key)
135+
132136
# Also, load the tunnels
133137
self.tunnels = self.connection.get_tunnels()
134138

ui/settings_window.glade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@
229229
<property name="visible">True</property>
230230
<property name="can_focus">False</property>
231231
<property name="filter">file_filter_db</property>
232+
<property name="show_hidden">True</property>
232233
</object>
233234
<packing>
234235
<property name="left_attach">0</property>

0 commit comments

Comments
 (0)