From 49de0fb22e352797a17f08cdaa49d617511a0d2a Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 15 Jan 2018 14:20:48 +0100 Subject: [PATCH] [add] Hotkey for renaming --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 427df7f4..ddf27fb8 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -4589-dirty +b191b-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index e942dae3..1fe72cc2 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1295,7 +1295,8 @@ class PickDlg(QDialog): tip='Delete current picks.') self.renamePhaseAction = createAction(parent=self, text='Rename Phase', slot=self.initRenamePhase, icon=sync_icon, - tip='Rename a Phase.', checkable=True) + tip='Rename a Phase.', checkable=True, + shortcut='R') self.addPickPhases(menuBar)