mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 17:50:52 +01:00
Suppression de l'attribut public previous_text de la classe DiagramTextItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@964 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1093,7 +1093,6 @@ void Conductor::saveProfile(bool undo) {
|
||||
ConductorProfile old_profile(conductor_profiles[current_path_type]);
|
||||
conductor_profiles[current_path_type].fromConductor(this);
|
||||
Diagram *dia = diagram();
|
||||
qDebug () << Q_FUNC_INFO << dia;
|
||||
if (undo && dia) {
|
||||
dia -> undoStack().push(new ChangeConductorCommand(this, old_profile, conductor_profiles[current_path_type], current_path_type));
|
||||
}
|
||||
@@ -1153,7 +1152,6 @@ QString Conductor::text() const {
|
||||
*/
|
||||
void Conductor::setText(const QString &t) {
|
||||
text_item -> setPlainText(t);
|
||||
text_item -> previous_text = t;
|
||||
}
|
||||
|
||||
/// @param p les proprietes de ce conducteur
|
||||
|
||||
Reference in New Issue
Block a user