Commits

Shlomi Fish committed f659f88

Finished. Yay!.

Comments (0)

Files changed (1)

minicalc/Window.pm

 
     my $addend2Label = Qt::Label(this->tr('Addend #2:'));
     
-    this->setAddendLineEdit( Qt::LineEdit() );
-    this->setAddend2LineEdit( Qt::LineEdit() );
+    this->setAddendLineEdit( Qt::LineEdit("1") );
+    this->setAddend2LineEdit( Qt::LineEdit("1") );
 
     my $resultGroup = Qt::GroupBox();
 
         this, SLOT 'update()');
 
     this->setWindowTitle(this->tr('Mini Calculator'));
+
+    this->update();
 }
 
 1;