Browse Source

add Ctrl S in usermgr

master
Robin Thoni 10 years ago
parent
commit
2e76890fe1
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      usermgr/widget.cpp

+ 3
- 0
usermgr/widget.cpp View File

@@ -9,6 +9,9 @@ Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget)
9 9
 	QShortcut* quit = new QShortcut(QKeySequence("Ctrl+Q"), this);
10 10
 	connect(quit, SIGNAL(activated()), qApp, SLOT(quit()));
11 11
 
12
+	QShortcut* save = new QShortcut(QKeySequence("Ctrl+S"), this);
13
+	connect(save, SIGNAL(activated()), this, SLOT(saveCurrent()));
14
+
12 15
 	setFixedSize(size());
13 16
     connect(ui->btnAdd, SIGNAL(clicked()), this, SLOT(addUser()));
14 17
     connect(ui->btnRemove, SIGNAL(clicked()), this, SLOT(removeCurrent()));

Loading…
Cancel
Save