add of blocNote
This commit is contained in:
+3
-6
@@ -26,6 +26,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
delete notePad;
|
||||
delete currentCharacter;
|
||||
|
||||
for(Character* c : characters) {
|
||||
@@ -230,12 +231,8 @@ void MainWindow::on_actionEditer_triggered(){
|
||||
|
||||
|
||||
void MainWindow::on_actionBlocNote_triggered(){
|
||||
if(notePad){
|
||||
//Menu notepad ouvert
|
||||
}else{
|
||||
//Menu notepad fermé
|
||||
}
|
||||
notePad=!notePad;
|
||||
notePad = new NotePad();
|
||||
this->notePad->show();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user