mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
GTK graphics dialog: Default to scaling 100% when no scaling or size is given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10764 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8d74dd26d8
commit
b9963e1a57
@ -5,6 +5,7 @@
|
||||
* GDocument.[Ch], glade/document.glade: Add more functionality
|
||||
to the still-incomplete document dialog.
|
||||
* Alert_pimpl.C: Make generic dialogs use the titles LyX gives them
|
||||
* GGraphics.C: Default to scaling 100% when no scaling or size is given
|
||||
|
||||
2006-01-20 Bernhard Reiter <ockham@gmx.net>
|
||||
|
||||
|
@ -384,8 +384,11 @@ void GGraphics::update() {
|
||||
&& !float_equal(convert<double>(igp.scale), 0.0, 0.05)) {
|
||||
// scaling sizing mode
|
||||
setscalingradio_->set_active(true);
|
||||
} else {
|
||||
} else if (!igp.width.empty() && !igp.height.empty()) {
|
||||
setsizeradio_->set_active(true);
|
||||
} else {
|
||||
outputscalespin_->get_adjustment()->set_value(100.0);
|
||||
setscalingradio_->set_active(true);
|
||||
}
|
||||
onSizingModeChange();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user