MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / focusByTab

Method focusByTab

src/openms_gui/source/VISUAL/APPLICATIONS/TOPPASBase.cpp:912–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

910 }
911
912 void TOPPASBase::focusByTab(int id)
913 {
914 TOPPASWidget* window = window_(id);
915 if (window)
916 {
917 //std::cerr << "tab changed...\n";
918 desc_->blockSignals(true);
919 desc_->setHtml(window->getScene()->getDescription());
920 desc_->blockSignals(false);
921 window->setFocus();
922 }
923 else
924 {
925 desc_->blockSignals(true);
926 desc_->setHtml("");
927 desc_->blockSignals(false);
928 }
929 }
930
931 void TOPPASBase::closeFile()
932 {

Callers

nothing calls this directly

Calls 2

getSceneMethod · 0.80
getDescriptionMethod · 0.45

Tested by

no test coverage detected