summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp2
-rw-r--r--inputmethods/multikey/keyboard.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index a6e4dad..ac132d3 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -175,8 +175,10 @@ void ConfigDlg::setMap(int index) {
else if ((uint)index <= default_maps.count()) {
remove_button->setDisabled(true);
+ emit setMapToFile(keymaps->text(index));
+
} else {
remove_button->setEnabled(true);
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index 805f0ed..8c4e666 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -68,9 +68,9 @@ public:
void setKey(const int row, const int qcode, const ushort unicode,
const int width, QPixmap *pix);
void setPressed(const int row, const int col, const bool pressed);
QString lang;
- QString title;
+ QString label;
private:
typedef struct Key {