diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-06-03 22:42:01 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-03 21:31:10 -0700 |
commit | a0c396f5cf4d872aa863852372f8c5b28fb41e42 (patch) | |
tree | 07cf4d75e5024fb23ae33e535ff1c90ec6fc7c50 /cochran.h | |
parent | 744ab4bc48581a0030c86ac3e889cdc1df3c2a6b (diff) | |
download | subsurface-a0c396f5cf4d872aa863852372f8c5b28fb41e42.tar.gz |
Don't clear the underline model of the combobox
Clear was the right method to call when we used a line edit, and the line
edit didn't had a model to provide data. Calling clear() on a QComboBox
will delete all itens inside of it, and what we wanted was to choose an
invalid index - and that's -1
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cochran.h')
0 files changed, 0 insertions, 0 deletions