OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6fedf4
)
[UI][Qt][PRINTER] Fix selecting printers.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 12 Sep 2016 20:23:35 +0000
(
05:23
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 12 Sep 2016 20:23:35 +0000
(
05:23
+0900)
source/src/qt/gui/mainwindow_utils.cpp
patch
|
blob
|
history
diff --git
a/source/src/qt/gui/mainwindow_utils.cpp
b/source/src/qt/gui/mainwindow_utils.cpp
index
82582a6
..
fe96848
100644
(file)
--- a/
source/src/qt/gui/mainwindow_utils.cpp
+++ b/
source/src/qt/gui/mainwindow_utils.cpp
@@
-291,7
+291,7
@@
void Ui_MainWindowBase::set_printer_device(int p_type)
p_type = using_flags->get_use_printer_type() - 1;
}
} else {
- if(p_type >=
2) p_type = 1
;
+ if(p_type >=
8) p_type = 0
;
}
using_flags->get_config_ptr()->printer_device_type = p_type;
emit sig_emu_update_config();