mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14770 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
840a9a6d0e
commit
d150b99ed7
@ -67,7 +67,7 @@ void QWrap::apply()
|
||||
|
||||
params.width = LyXLength(value, unit);
|
||||
|
||||
switch (dialog_->valignCO->currentItem()) {
|
||||
switch (dialog_->valignCO->currentIndex()) {
|
||||
case 0:
|
||||
params.placement.erase();
|
||||
break;
|
||||
@ -115,7 +115,7 @@ void QWrap::update_contents()
|
||||
else if (params.placement == "p")
|
||||
item = 3;
|
||||
|
||||
dialog_->valignCO->setCurrentItem(item);
|
||||
dialog_->valignCO->setCurrentIndex(item);
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
|
Loading…
Reference in New Issue
Block a user