mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Correction : il n'etait plus possible de modifier les dimensions et point de saisie d'un element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@883 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -836,7 +836,7 @@ void ElementScene::slot_editSizeHotSpot() {
|
|||||||
connect(dialog_buttons, SIGNAL(rejected()), &dialog_sh, SLOT(reject()));
|
connect(dialog_buttons, SIGNAL(rejected()), &dialog_sh, SLOT(reject()));
|
||||||
|
|
||||||
// lance le dialogue
|
// lance le dialogue
|
||||||
if (dialog_sh.exec() == QDialog::Accepted && is_read_only) {
|
if (dialog_sh.exec() == QDialog::Accepted && !is_read_only) {
|
||||||
QSize new_size(hotspot_editor -> elementSize());
|
QSize new_size(hotspot_editor -> elementSize());
|
||||||
QSize old_size(width(), height());
|
QSize old_size(width(), height());
|
||||||
QPoint new_hotspot(hotspot_editor -> hotspot());
|
QPoint new_hotspot(hotspot_editor -> hotspot());
|
||||||
|
|||||||
Reference in New Issue
Block a user