I tried many times to enable a different QPlainTextEdit by clicking two different PushButtons.
Here part of my code:

Qt Code:
  1. // MERGE
  2. descriptionEdit->setPlainText("Select the two fragments.");
  3. connect(b_merge, SIGNAL(triggered()), descriptionEdit, SLOT(on_pushButton_clicked()));
  4.  
  5. // SPLIT
  6. descriptionEdit->setPlainText("Draw a polyline.");
  7. connect(b_split, SIGNAL(triggered()), descriptionEdit, SLOT(on_pushButton_clicked()));
To copy to clipboard, switch view to plain text mode 

It gives me only the second one (SPLIT), and without any clicking.
I just want that by clicking one of the two buttons also the text sholud be change.