Fixed a bug in the unlink dialog, changed the link/unlink keyboard shortcuts

This commit is contained in:
parax0 2016-03-22 21:53:16 -06:00
parent 77eb2b3dc5
commit 8234ffce1b
2 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@ private:
public: public:
explicit CConfirmUnlinkDialog(QWidget *pParent = 0) explicit CConfirmUnlinkDialog(QWidget *pParent = 0)
: QDialog(pParent) : QDialog(pParent)
, mChoice(eCancel)
{ {
mpLabel = new QLabel("Which links should be removed from the selected instances?"); mpLabel = new QLabel("Which links should be removed from the selected instances?");
mpAllButton = new QPushButton("All"); mpAllButton = new QPushButton("All");

View File

@ -515,7 +515,7 @@
<string>Link</string> <string>Link</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Alt+C</string> <string>L</string>
</property> </property>
</action> </action>
<action name="ActionUnlink"> <action name="ActionUnlink">
@ -530,7 +530,7 @@
<string>Unlink</string> <string>Unlink</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Alt+D</string> <string>U</string>
</property> </property>
</action> </action>
<action name="ActionDrawWorld"> <action name="ActionDrawWorld">