api paste button
This commit is contained in:
@@ -63,3 +63,9 @@ func _on_show_api_key_toggled(button_pressed):
|
||||
func _on_prevent_sleep_mode_toggled(button_pressed):
|
||||
Config.flags.prevent_sleep_mode = button_pressed
|
||||
Config.flags.emit_signal("changed")
|
||||
|
||||
|
||||
func _on_paste_key_pressed():
|
||||
if not OS.clipboard in ['', null]:
|
||||
$"%settings_api_key".text = OS.clipboard
|
||||
_on_location_debounce_timeout()
|
||||
|
||||
Reference in New Issue
Block a user